package com.wudl.govern.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * meta_index
 *
 * @author wudl
 */
@Data
@ApiModel
public class MetaIndexVO {

    @ApiModelProperty(value = "主键")
    private Integer metaIndexId;

    @ApiModelProperty(value = "索引名称")
    private String indexName;

    @ApiModelProperty(value = "索引全名")
    private String indexFullName;

    @ApiModelProperty(value = "索引短名")
    private String indexShortName;

    @ApiModelProperty(value = "索引引用的列名称(多个用逗号分隔)")
    private String columns;

    @ApiModelProperty(value = "是否唯一(bool)  1：是  0：不是")
    private Integer isUnique;

    @ApiModelProperty(value = "索引类型")
    private String type;

    @ApiModelProperty(value = "基数")
    private Integer cardinality;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "属性Map")
    private String attributeMap;

    @ApiModelProperty(value = "meta_table_id")
    private Integer metaTableId;

    @ApiModelProperty(value = "数据库目录id")
    private Integer metaDbDirId;

    @ApiModelProperty(value = "0无效 1有效")
    private Integer dataState;

    @ApiModelProperty(value = "version")
    private Integer version;

    @ApiModelProperty(value = "最后操作： 0 初始状态  1新增，2修改，3删除")
    private Integer lastOperation;

    @ApiModelProperty(value = "0:初始状态 1待审核  2审核通过 3审核不通过")
    private Integer lastOperationStatus;

    @ApiModelProperty(value = "元目录id")
    private Integer metaDirId;

    @ApiModelProperty(value = "1:字段,2:索引,3:外键,4:触发器")
    private Integer contentType;

}